<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><link rel="stylesheet" type="text/css" href="style.css" /><script type="text/javascript" src="highlight.js"></script></head><body><pre><span id="local-6989586621679649275"><span id="local-6989586621679649276"></span></span><span class="hs-pragma">{-# LANGUAGE DeriveDataTypeable #-}</span><span>
</span><span id="line-2"></span><span class="hs-pragma">{-# LANGUAGE DeriveGeneric      #-}</span><span>
</span><span id="line-3"></span><span>
</span><span id="line-4"></span><span class="hs-keyword">module</span><span> </span><span class="hs-identifier">Distribution.Types.IncludeRenaming</span><span> </span><span class="hs-special">(</span><span>
</span><span id="line-5"></span><span>    </span><span class="annot"><a href="Distribution.Types.IncludeRenaming.html#IncludeRenaming"><span class="hs-identifier">IncludeRenaming</span></a></span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span class="hs-special">,</span><span>
</span><span id="line-6"></span><span>    </span><span class="annot"><a href="Distribution.Types.IncludeRenaming.html#defaultIncludeRenaming"><span class="hs-identifier">defaultIncludeRenaming</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-7"></span><span>    </span><span class="annot"><a href="Distribution.Types.IncludeRenaming.html#isDefaultIncludeRenaming"><span class="hs-identifier">isDefaultIncludeRenaming</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-8"></span><span class="hs-special">)</span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-9"></span><span>
</span><span id="line-10"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Distribution.Compat.Prelude.html"><span class="hs-identifier">Distribution.Compat.Prelude</span></a></span><span>
</span><span id="line-11"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="../../base/src/Prelude.html#"><span class="hs-identifier">Prelude</span></a></span><span> </span><span class="hs-special">(</span><span class="hs-special">)</span><span>
</span><span id="line-12"></span><span>
</span><span id="line-13"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Distribution.Types.ModuleRenaming.html"><span class="hs-identifier">Distribution.Types.ModuleRenaming</span></a></span><span>
</span><span id="line-14"></span><span>
</span><span id="line-15"></span><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="annot"><a href="Distribution.Compat.CharParsing.html"><span class="hs-identifier">Distribution.Compat.CharParsing</span></a></span><span> </span><span class="hs-keyword">as</span><span> </span><span class="annot"><span class="hs-identifier">P</span></span><span>
</span><span id="line-16"></span><span class="hs-keyword">import</span><span>           </span><span class="annot"><a href="Distribution.Parsec.html"><span class="hs-identifier">Distribution.Parsec</span></a></span><span>
</span><span id="line-17"></span><span class="hs-keyword">import</span><span>           </span><span class="annot"><a href="Distribution.Pretty.html"><span class="hs-identifier">Distribution.Pretty</span></a></span><span>
</span><span id="line-18"></span><span class="hs-keyword">import</span><span>           </span><span class="annot"><a href="../../pretty/src/Text.PrettyPrint.html#"><span class="hs-identifier">Text.PrettyPrint</span></a></span><span>           </span><span class="hs-special">(</span><span class="annot"><a href="../../pretty/src/Text.PrettyPrint.HughesPJ.html#text"><span class="hs-identifier">text</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-19"></span><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="annot"><a href="../../pretty/src/Text.PrettyPrint.html#"><span class="hs-identifier">Text.PrettyPrint</span></a></span><span>           </span><span class="hs-keyword">as</span><span> </span><span class="annot"><span class="hs-identifier">Disp</span></span><span>
</span><span id="line-20"></span><span>
</span><span id="line-21"></span><span class="hs-comment">-- ---------------------------------------------------------------------------</span><span>
</span><span id="line-22"></span><span class="hs-comment">-- Module renaming</span><span>
</span><span id="line-23"></span><span>
</span><span id="line-24"></span><span class="hs-comment">-- | A renaming on an include: (provides renaming, requires renaming)</span><span>
</span><span id="line-25"></span><span id="local-6989586621679649270"><span id="local-6989586621679649271"></span></span><span class="hs-keyword">data</span><span> </span><span id="IncludeRenaming"><span class="annot"><a href="Distribution.Types.IncludeRenaming.html#IncludeRenaming"><span class="hs-identifier hs-var">IncludeRenaming</span></a></span></span><span>
</span><span id="line-26"></span><span>    </span><span class="hs-glyph">=</span><span> </span><span id="IncludeRenaming"><span class="annot"><a href="Distribution.Types.IncludeRenaming.html#IncludeRenaming"><span class="hs-identifier hs-var">IncludeRenaming</span></a></span></span><span> </span><span class="hs-special">{</span><span>
</span><span id="line-27"></span><span>        </span><span id="includeProvidesRn"><span class="annot"><span class="annottext">IncludeRenaming -&gt; ModuleRenaming
</span><a href="Distribution.Types.IncludeRenaming.html#includeProvidesRn"><span class="hs-identifier hs-var hs-var">includeProvidesRn</span></a></span></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="Distribution.Types.ModuleRenaming.html#ModuleRenaming"><span class="hs-identifier hs-type">ModuleRenaming</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-28"></span><span>        </span><span id="includeRequiresRn"><span class="annot"><span class="annottext">IncludeRenaming -&gt; ModuleRenaming
</span><a href="Distribution.Types.IncludeRenaming.html#includeRequiresRn"><span class="hs-identifier hs-var hs-var">includeRequiresRn</span></a></span></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="Distribution.Types.ModuleRenaming.html#ModuleRenaming"><span class="hs-identifier hs-type">ModuleRenaming</span></a></span><span>
</span><span id="line-29"></span><span>    </span><span class="hs-special">}</span><span>
</span><span id="line-30"></span><span>    </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span id="local-6989586621679649256"><span id="local-6989586621679649258"><span id="local-6989586621679649265"><span class="annot"><span class="annottext">Int -&gt; IncludeRenaming -&gt; ShowS
[IncludeRenaming] -&gt; ShowS
IncludeRenaming -&gt; String
(Int -&gt; IncludeRenaming -&gt; ShowS)
-&gt; (IncludeRenaming -&gt; String)
-&gt; ([IncludeRenaming] -&gt; ShowS)
-&gt; Show IncludeRenaming
forall a.
(Int -&gt; a -&gt; ShowS) -&gt; (a -&gt; String) -&gt; ([a] -&gt; ShowS) -&gt; Show a
showList :: [IncludeRenaming] -&gt; ShowS
$cshowList :: [IncludeRenaming] -&gt; ShowS
show :: IncludeRenaming -&gt; String
$cshow :: IncludeRenaming -&gt; String
showsPrec :: Int -&gt; IncludeRenaming -&gt; ShowS
$cshowsPrec :: Int -&gt; IncludeRenaming -&gt; ShowS
</span><a href="../../base/src/GHC.Show.html#Show"><span class="hs-identifier hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var">Show</span></a></span></span></span></span><span class="hs-special">,</span><span> </span><span id="local-6989586621679649235"><span id="local-6989586621679649248"><span id="local-6989586621679649251"><span id="local-6989586621679649253"><span class="annot"><span class="annottext">ReadPrec [IncludeRenaming]
ReadPrec IncludeRenaming
Int -&gt; ReadS IncludeRenaming
ReadS [IncludeRenaming]
(Int -&gt; ReadS IncludeRenaming)
-&gt; ReadS [IncludeRenaming]
-&gt; ReadPrec IncludeRenaming
-&gt; ReadPrec [IncludeRenaming]
-&gt; Read IncludeRenaming
forall a.
(Int -&gt; ReadS a)
-&gt; ReadS [a] -&gt; ReadPrec a -&gt; ReadPrec [a] -&gt; Read a
readListPrec :: ReadPrec [IncludeRenaming]
$creadListPrec :: ReadPrec [IncludeRenaming]
readPrec :: ReadPrec IncludeRenaming
$creadPrec :: ReadPrec IncludeRenaming
readList :: ReadS [IncludeRenaming]
$creadList :: ReadS [IncludeRenaming]
readsPrec :: Int -&gt; ReadS IncludeRenaming
$creadsPrec :: Int -&gt; ReadS IncludeRenaming
</span><a href="../../base/src/GHC.Read.html#Read"><span class="hs-identifier hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var">Read</span></a></span></span></span></span></span><span class="hs-special">,</span><span> </span><span id="local-6989586621679649226"><span id="local-6989586621679649231"><span class="annot"><span class="annottext">IncludeRenaming -&gt; IncludeRenaming -&gt; Bool
(IncludeRenaming -&gt; IncludeRenaming -&gt; Bool)
-&gt; (IncludeRenaming -&gt; IncludeRenaming -&gt; Bool)
-&gt; Eq IncludeRenaming
forall a. (a -&gt; a -&gt; Bool) -&gt; (a -&gt; a -&gt; Bool) -&gt; Eq a
/= :: IncludeRenaming -&gt; IncludeRenaming -&gt; Bool
$c/= :: IncludeRenaming -&gt; IncludeRenaming -&gt; Bool
== :: IncludeRenaming -&gt; IncludeRenaming -&gt; Bool
$c== :: IncludeRenaming -&gt; IncludeRenaming -&gt; Bool
</span><span class="hs-identifier hs-var hs-var hs-var hs-var hs-var hs-var">Eq</span></span></span></span><span class="hs-special">,</span><span> </span><span id="local-6989586621679649201"><span id="local-6989586621679649203"><span id="local-6989586621679649206"><span id="local-6989586621679649209"><span id="local-6989586621679649212"><span id="local-6989586621679649216"><span id="local-6989586621679649221"><span class="annot"><span class="annottext">Eq IncludeRenaming
Eq IncludeRenaming
-&gt; (IncludeRenaming -&gt; IncludeRenaming -&gt; Ordering)
-&gt; (IncludeRenaming -&gt; IncludeRenaming -&gt; Bool)
-&gt; (IncludeRenaming -&gt; IncludeRenaming -&gt; Bool)
-&gt; (IncludeRenaming -&gt; IncludeRenaming -&gt; Bool)
-&gt; (IncludeRenaming -&gt; IncludeRenaming -&gt; Bool)
-&gt; (IncludeRenaming -&gt; IncludeRenaming -&gt; IncludeRenaming)
-&gt; (IncludeRenaming -&gt; IncludeRenaming -&gt; IncludeRenaming)
-&gt; Ord IncludeRenaming
IncludeRenaming -&gt; IncludeRenaming -&gt; Bool
IncludeRenaming -&gt; IncludeRenaming -&gt; Ordering
IncludeRenaming -&gt; IncludeRenaming -&gt; IncludeRenaming
forall a.
Eq a
-&gt; (a -&gt; a -&gt; Ordering)
-&gt; (a -&gt; a -&gt; Bool)
-&gt; (a -&gt; a -&gt; Bool)
-&gt; (a -&gt; a -&gt; Bool)
-&gt; (a -&gt; a -&gt; Bool)
-&gt; (a -&gt; a -&gt; a)
-&gt; (a -&gt; a -&gt; a)
-&gt; Ord a
min :: IncludeRenaming -&gt; IncludeRenaming -&gt; IncludeRenaming
$cmin :: IncludeRenaming -&gt; IncludeRenaming -&gt; IncludeRenaming
max :: IncludeRenaming -&gt; IncludeRenaming -&gt; IncludeRenaming
$cmax :: IncludeRenaming -&gt; IncludeRenaming -&gt; IncludeRenaming
&gt;= :: IncludeRenaming -&gt; IncludeRenaming -&gt; Bool
$c&gt;= :: IncludeRenaming -&gt; IncludeRenaming -&gt; Bool
&gt; :: IncludeRenaming -&gt; IncludeRenaming -&gt; Bool
$c&gt; :: IncludeRenaming -&gt; IncludeRenaming -&gt; Bool
&lt;= :: IncludeRenaming -&gt; IncludeRenaming -&gt; Bool
$c&lt;= :: IncludeRenaming -&gt; IncludeRenaming -&gt; Bool
&lt; :: IncludeRenaming -&gt; IncludeRenaming -&gt; Bool
$c&lt; :: IncludeRenaming -&gt; IncludeRenaming -&gt; Bool
compare :: IncludeRenaming -&gt; IncludeRenaming -&gt; Ordering
$ccompare :: IncludeRenaming -&gt; IncludeRenaming -&gt; Ordering
</span><span class="hs-identifier hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var">Ord</span></span></span></span></span></span></span></span></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="../../base/src/Data.Typeable.Internal.html#Typeable"><span class="hs-identifier hs-type">Typeable</span></a></span><span class="hs-special">,</span><span> </span><span id="local-6989586621679649165"><span id="local-6989586621679649167"><span id="local-6989586621679649169"><span id="local-6989586621679649171"><span id="local-6989586621679649173"><span id="local-6989586621679649175"><span id="local-6989586621679649177"><span id="local-6989586621679649179"><span id="local-6989586621679649181"><span id="local-6989586621679649183"><span id="local-6989586621679649185"><span id="local-6989586621679649187"><span id="local-6989586621679649191"><span id="local-6989586621679649196"><span class="annot"><span class="annottext">Typeable IncludeRenaming
Typeable IncludeRenaming
-&gt; (forall (c :: * -&gt; *).
    (forall d b. Data d =&gt; c (d -&gt; b) -&gt; d -&gt; c b)
    -&gt; (forall g. g -&gt; c g) -&gt; IncludeRenaming -&gt; c IncludeRenaming)
-&gt; (forall (c :: * -&gt; *).
    (forall b r. Data b =&gt; c (b -&gt; r) -&gt; c r)
    -&gt; (forall r. r -&gt; c r) -&gt; Constr -&gt; c IncludeRenaming)
-&gt; (IncludeRenaming -&gt; Constr)
-&gt; (IncludeRenaming -&gt; DataType)
-&gt; (forall (t :: * -&gt; *) (c :: * -&gt; *).
    Typeable t =&gt;
    (forall d. Data d =&gt; c (t d)) -&gt; Maybe (c IncludeRenaming))
-&gt; (forall (t :: * -&gt; * -&gt; *) (c :: * -&gt; *).
    Typeable t =&gt;
    (forall d e. (Data d, Data e) =&gt; c (t d e))
    -&gt; Maybe (c IncludeRenaming))
-&gt; ((forall b. Data b =&gt; b -&gt; b)
    -&gt; IncludeRenaming -&gt; IncludeRenaming)
-&gt; (forall r r'.
    (r -&gt; r' -&gt; r)
    -&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; IncludeRenaming -&gt; r)
-&gt; (forall r r'.
    (r' -&gt; r -&gt; r)
    -&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; IncludeRenaming -&gt; r)
-&gt; (forall u.
    (forall d. Data d =&gt; d -&gt; u) -&gt; IncludeRenaming -&gt; [u])
-&gt; (forall u.
    Int -&gt; (forall d. Data d =&gt; d -&gt; u) -&gt; IncludeRenaming -&gt; u)
-&gt; (forall (m :: * -&gt; *).
    Monad m =&gt;
    (forall d. Data d =&gt; d -&gt; m d)
    -&gt; IncludeRenaming -&gt; m IncludeRenaming)
-&gt; (forall (m :: * -&gt; *).
    MonadPlus m =&gt;
    (forall d. Data d =&gt; d -&gt; m d)
    -&gt; IncludeRenaming -&gt; m IncludeRenaming)
-&gt; (forall (m :: * -&gt; *).
    MonadPlus m =&gt;
    (forall d. Data d =&gt; d -&gt; m d)
    -&gt; IncludeRenaming -&gt; m IncludeRenaming)
-&gt; Data IncludeRenaming
IncludeRenaming -&gt; DataType
IncludeRenaming -&gt; Constr
(forall b. Data b =&gt; b -&gt; b) -&gt; IncludeRenaming -&gt; IncludeRenaming
forall a.
Typeable a
-&gt; (forall (c :: * -&gt; *).
    (forall d b. Data d =&gt; c (d -&gt; b) -&gt; d -&gt; c b)
    -&gt; (forall g. g -&gt; c g) -&gt; a -&gt; c a)
-&gt; (forall (c :: * -&gt; *).
    (forall b r. Data b =&gt; c (b -&gt; r) -&gt; c r)
    -&gt; (forall r. r -&gt; c r) -&gt; Constr -&gt; c a)
-&gt; (a -&gt; Constr)
-&gt; (a -&gt; DataType)
-&gt; (forall (t :: * -&gt; *) (c :: * -&gt; *).
    Typeable t =&gt;
    (forall d. Data d =&gt; c (t d)) -&gt; Maybe (c a))
-&gt; (forall (t :: * -&gt; * -&gt; *) (c :: * -&gt; *).
    Typeable t =&gt;
    (forall d e. (Data d, Data e) =&gt; c (t d e)) -&gt; Maybe (c a))
-&gt; ((forall b. Data b =&gt; b -&gt; b) -&gt; a -&gt; a)
-&gt; (forall r r'.
    (r -&gt; r' -&gt; r) -&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; a -&gt; r)
-&gt; (forall r r'.
    (r' -&gt; r -&gt; r) -&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; a -&gt; r)
-&gt; (forall u. (forall d. Data d =&gt; d -&gt; u) -&gt; a -&gt; [u])
-&gt; (forall u. Int -&gt; (forall d. Data d =&gt; d -&gt; u) -&gt; a -&gt; u)
-&gt; (forall (m :: * -&gt; *).
    Monad m =&gt;
    (forall d. Data d =&gt; d -&gt; m d) -&gt; a -&gt; m a)
-&gt; (forall (m :: * -&gt; *).
    MonadPlus m =&gt;
    (forall d. Data d =&gt; d -&gt; m d) -&gt; a -&gt; m a)
-&gt; (forall (m :: * -&gt; *).
    MonadPlus m =&gt;
    (forall d. Data d =&gt; d -&gt; m d) -&gt; a -&gt; m a)
-&gt; Data a
forall u.
Int -&gt; (forall d. Data d =&gt; d -&gt; u) -&gt; IncludeRenaming -&gt; u
forall u. (forall d. Data d =&gt; d -&gt; u) -&gt; IncludeRenaming -&gt; [u]
forall r r'.
(r -&gt; r' -&gt; r)
-&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; IncludeRenaming -&gt; r
forall r r'.
(r' -&gt; r -&gt; r)
-&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; IncludeRenaming -&gt; r
forall (m :: * -&gt; *).
Monad m =&gt;
(forall d. Data d =&gt; d -&gt; m d)
-&gt; IncludeRenaming -&gt; m IncludeRenaming
forall (m :: * -&gt; *).
MonadPlus m =&gt;
(forall d. Data d =&gt; d -&gt; m d)
-&gt; IncludeRenaming -&gt; m IncludeRenaming
forall (c :: * -&gt; *).
(forall b r. Data b =&gt; c (b -&gt; r) -&gt; c r)
-&gt; (forall r. r -&gt; c r) -&gt; Constr -&gt; c IncludeRenaming
forall (c :: * -&gt; *).
(forall d b. Data d =&gt; c (d -&gt; b) -&gt; d -&gt; c b)
-&gt; (forall g. g -&gt; c g) -&gt; IncludeRenaming -&gt; c IncludeRenaming
forall (t :: * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d. Data d =&gt; c (t d)) -&gt; Maybe (c IncludeRenaming)
forall (t :: * -&gt; * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d e. (Data d, Data e) =&gt; c (t d e))
-&gt; Maybe (c IncludeRenaming)
gmapMo :: forall (m :: * -&gt; *).
MonadPlus m =&gt;
(forall d. Data d =&gt; d -&gt; m d)
-&gt; IncludeRenaming -&gt; m IncludeRenaming
$cgmapMo :: forall (m :: * -&gt; *).
MonadPlus m =&gt;
(forall d. Data d =&gt; d -&gt; m d)
-&gt; IncludeRenaming -&gt; m IncludeRenaming
gmapMp :: forall (m :: * -&gt; *).
MonadPlus m =&gt;
(forall d. Data d =&gt; d -&gt; m d)
-&gt; IncludeRenaming -&gt; m IncludeRenaming
$cgmapMp :: forall (m :: * -&gt; *).
MonadPlus m =&gt;
(forall d. Data d =&gt; d -&gt; m d)
-&gt; IncludeRenaming -&gt; m IncludeRenaming
gmapM :: forall (m :: * -&gt; *).
Monad m =&gt;
(forall d. Data d =&gt; d -&gt; m d)
-&gt; IncludeRenaming -&gt; m IncludeRenaming
$cgmapM :: forall (m :: * -&gt; *).
Monad m =&gt;
(forall d. Data d =&gt; d -&gt; m d)
-&gt; IncludeRenaming -&gt; m IncludeRenaming
gmapQi :: forall u.
Int -&gt; (forall d. Data d =&gt; d -&gt; u) -&gt; IncludeRenaming -&gt; u
$cgmapQi :: forall u.
Int -&gt; (forall d. Data d =&gt; d -&gt; u) -&gt; IncludeRenaming -&gt; u
gmapQ :: forall u. (forall d. Data d =&gt; d -&gt; u) -&gt; IncludeRenaming -&gt; [u]
$cgmapQ :: forall u. (forall d. Data d =&gt; d -&gt; u) -&gt; IncludeRenaming -&gt; [u]
gmapQr :: forall r r'.
(r' -&gt; r -&gt; r)
-&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; IncludeRenaming -&gt; r
$cgmapQr :: forall r r'.
(r' -&gt; r -&gt; r)
-&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; IncludeRenaming -&gt; r
gmapQl :: forall r r'.
(r -&gt; r' -&gt; r)
-&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; IncludeRenaming -&gt; r
$cgmapQl :: forall r r'.
(r -&gt; r' -&gt; r)
-&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; IncludeRenaming -&gt; r
gmapT :: (forall b. Data b =&gt; b -&gt; b) -&gt; IncludeRenaming -&gt; IncludeRenaming
$cgmapT :: (forall b. Data b =&gt; b -&gt; b) -&gt; IncludeRenaming -&gt; IncludeRenaming
dataCast2 :: forall (t :: * -&gt; * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d e. (Data d, Data e) =&gt; c (t d e))
-&gt; Maybe (c IncludeRenaming)
$cdataCast2 :: forall (t :: * -&gt; * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d e. (Data d, Data e) =&gt; c (t d e))
-&gt; Maybe (c IncludeRenaming)
dataCast1 :: forall (t :: * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d. Data d =&gt; c (t d)) -&gt; Maybe (c IncludeRenaming)
$cdataCast1 :: forall (t :: * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d. Data d =&gt; c (t d)) -&gt; Maybe (c IncludeRenaming)
dataTypeOf :: IncludeRenaming -&gt; DataType
$cdataTypeOf :: IncludeRenaming -&gt; DataType
toConstr :: IncludeRenaming -&gt; Constr
$ctoConstr :: IncludeRenaming -&gt; Constr
gunfold :: forall (c :: * -&gt; *).
(forall b r. Data b =&gt; c (b -&gt; r) -&gt; c r)
-&gt; (forall r. r -&gt; c r) -&gt; Constr -&gt; c IncludeRenaming
$cgunfold :: forall (c :: * -&gt; *).
(forall b r. Data b =&gt; c (b -&gt; r) -&gt; c r)
-&gt; (forall r. r -&gt; c r) -&gt; Constr -&gt; c IncludeRenaming
gfoldl :: forall (c :: * -&gt; *).
(forall d b. Data d =&gt; c (d -&gt; b) -&gt; d -&gt; c b)
-&gt; (forall g. g -&gt; c g) -&gt; IncludeRenaming -&gt; c IncludeRenaming
$cgfoldl :: forall (c :: * -&gt; *).
(forall d b. Data d =&gt; c (d -&gt; b) -&gt; d -&gt; c b)
-&gt; (forall g. g -&gt; c g) -&gt; IncludeRenaming -&gt; c IncludeRenaming
</span><a href="../../base/src/Data.Data.html#Data"><span class="hs-identifier hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var">Data</span></a></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">(forall x. IncludeRenaming -&gt; Rep IncludeRenaming x)
-&gt; (forall x. Rep IncludeRenaming x -&gt; IncludeRenaming)
-&gt; Generic IncludeRenaming
forall x. Rep IncludeRenaming x -&gt; IncludeRenaming
forall x. IncludeRenaming -&gt; Rep IncludeRenaming x
forall a.
(forall x. a -&gt; Rep a x) -&gt; (forall x. Rep a x -&gt; a) -&gt; Generic a
$cto :: forall x. Rep IncludeRenaming x -&gt; IncludeRenaming
$cfrom :: forall x. IncludeRenaming -&gt; Rep IncludeRenaming x
</span><a href="../../base/src/GHC.Generics.html#Generic"><span class="hs-identifier hs-var hs-var hs-var hs-var">Generic</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-31"></span><span>
</span><span id="line-32"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679649155"><span id="local-6989586621679649157"><span id="local-6989586621679649159"><span class="annot"><a href="../../binary/src/Data.Binary.Class.html#Binary"><span class="hs-identifier hs-type">Binary</span></a></span><span> </span><span class="annot"><a href="Distribution.Types.IncludeRenaming.html#IncludeRenaming"><span class="hs-identifier hs-type">IncludeRenaming</span></a></span></span></span></span><span>
</span><span id="line-33"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679649148"><span id="local-6989586621679649150"><span class="annot"><a href="Distribution.Utils.Structured.html#Structured"><span class="hs-identifier hs-type">Structured</span></a></span><span> </span><span class="annot"><a href="Distribution.Types.IncludeRenaming.html#IncludeRenaming"><span class="hs-identifier hs-type">IncludeRenaming</span></a></span></span></span><span>
</span><span id="line-34"></span><span>
</span><span id="line-35"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="../../deepseq/src/Control.DeepSeq.html#NFData"><span class="hs-identifier hs-type">NFData</span></a></span><span> </span><span class="annot"><a href="Distribution.Types.IncludeRenaming.html#IncludeRenaming"><span class="hs-identifier hs-type">IncludeRenaming</span></a></span><span> </span><span class="hs-keyword">where</span><span> </span><span id="local-6989586621679649130"><span class="annot"><span class="annottext">rnf :: IncludeRenaming -&gt; ()
</span><a href="../../deepseq/src/Control.DeepSeq.html#rnf"><span class="hs-identifier hs-var hs-var hs-var hs-var">rnf</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">IncludeRenaming -&gt; ()
forall a. (Generic a, GNFData (Rep a)) =&gt; a -&gt; ()
</span><a href="Distribution.Compat.Prelude.html#genericRnf"><span class="hs-identifier hs-var">genericRnf</span></a></span><span>
</span><span id="line-36"></span><span>
</span><span id="line-37"></span><span class="hs-comment">-- | The 'defaultIncludeRenaming' applied when you only @build-depends@</span><span>
</span><span id="line-38"></span><span class="hs-comment">-- on a package.</span><span>
</span><span id="line-39"></span><span class="annot"><a href="Distribution.Types.IncludeRenaming.html#defaultIncludeRenaming"><span class="hs-identifier hs-type">defaultIncludeRenaming</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="Distribution.Types.IncludeRenaming.html#IncludeRenaming"><span class="hs-identifier hs-type">IncludeRenaming</span></a></span><span>
</span><span id="line-40"></span><span id="defaultIncludeRenaming"><span class="annot"><span class="annottext">defaultIncludeRenaming :: IncludeRenaming
</span><a href="Distribution.Types.IncludeRenaming.html#defaultIncludeRenaming"><span class="hs-identifier hs-var hs-var">defaultIncludeRenaming</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">ModuleRenaming -&gt; ModuleRenaming -&gt; IncludeRenaming
</span><a href="Distribution.Types.IncludeRenaming.html#IncludeRenaming"><span class="hs-identifier hs-var">IncludeRenaming</span></a></span><span> </span><span class="annot"><span class="annottext">ModuleRenaming
</span><a href="Distribution.Types.ModuleRenaming.html#defaultRenaming"><span class="hs-identifier hs-var">defaultRenaming</span></a></span><span> </span><span class="annot"><span class="annottext">ModuleRenaming
</span><a href="Distribution.Types.ModuleRenaming.html#defaultRenaming"><span class="hs-identifier hs-var">defaultRenaming</span></a></span><span>
</span><span id="line-41"></span><span>
</span><span id="line-42"></span><span class="hs-comment">-- | Is an 'IncludeRenaming' the default one?</span><span>
</span><span id="line-43"></span><span class="annot"><a href="Distribution.Types.IncludeRenaming.html#isDefaultIncludeRenaming"><span class="hs-identifier hs-type">isDefaultIncludeRenaming</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="Distribution.Types.IncludeRenaming.html#IncludeRenaming"><span class="hs-identifier hs-type">IncludeRenaming</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="hs-identifier hs-type">Bool</span></span><span>
</span><span id="line-44"></span><span id="isDefaultIncludeRenaming"><span class="annot"><span class="annottext">isDefaultIncludeRenaming :: IncludeRenaming -&gt; Bool
</span><a href="Distribution.Types.IncludeRenaming.html#isDefaultIncludeRenaming"><span class="hs-identifier hs-var hs-var">isDefaultIncludeRenaming</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="Distribution.Types.IncludeRenaming.html#IncludeRenaming"><span class="hs-identifier hs-type">IncludeRenaming</span></a></span><span> </span><span id="local-6989586621679649126"><span class="annot"><span class="annottext">ModuleRenaming
</span><a href="#local-6989586621679649126"><span class="hs-identifier hs-var">p</span></a></span></span><span> </span><span id="local-6989586621679649125"><span class="annot"><span class="annottext">ModuleRenaming
</span><a href="#local-6989586621679649125"><span class="hs-identifier hs-var">r</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">ModuleRenaming -&gt; Bool
</span><a href="Distribution.Types.ModuleRenaming.html#isDefaultRenaming"><span class="hs-identifier hs-var">isDefaultRenaming</span></a></span><span> </span><span class="annot"><span class="annottext">ModuleRenaming
</span><a href="#local-6989586621679649126"><span class="hs-identifier hs-var">p</span></a></span><span> </span><span class="annot"><span class="annottext">Bool -&gt; Bool -&gt; Bool
</span><span class="hs-operator hs-var">&amp;&amp;</span></span><span> </span><span class="annot"><span class="annottext">ModuleRenaming -&gt; Bool
</span><a href="Distribution.Types.ModuleRenaming.html#isDefaultRenaming"><span class="hs-identifier hs-var">isDefaultRenaming</span></a></span><span> </span><span class="annot"><span class="annottext">ModuleRenaming
</span><a href="#local-6989586621679649125"><span class="hs-identifier hs-var">r</span></a></span><span>
</span><span id="line-45"></span><span>
</span><span id="line-46"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679649120"><span class="annot"><a href="Distribution.Pretty.html#Pretty"><span class="hs-identifier hs-type">Pretty</span></a></span><span> </span><span class="annot"><a href="Distribution.Types.IncludeRenaming.html#IncludeRenaming"><span class="hs-identifier hs-type">IncludeRenaming</span></a></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-47"></span><span>    </span><span id="local-6989586621679649115"><span class="annot"><span class="annottext">pretty :: IncludeRenaming -&gt; Doc
</span><a href="Distribution.Pretty.html#pretty"><span class="hs-identifier hs-var hs-var hs-var hs-var">pretty</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="Distribution.Types.IncludeRenaming.html#IncludeRenaming"><span class="hs-identifier hs-type">IncludeRenaming</span></a></span><span> </span><span id="local-6989586621679649113"><span class="annot"><span class="annottext">ModuleRenaming
</span><a href="#local-6989586621679649113"><span class="hs-identifier hs-var">prov_rn</span></a></span></span><span> </span><span id="local-6989586621679649112"><span class="annot"><span class="annottext">ModuleRenaming
</span><a href="#local-6989586621679649112"><span class="hs-identifier hs-var">req_rn</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span>
</span><span id="line-48"></span><span>        </span><span class="annot"><span class="annottext">ModuleRenaming -&gt; Doc
forall a. Pretty a =&gt; a -&gt; Doc
</span><a href="Distribution.Pretty.html#pretty"><span class="hs-identifier hs-var">pretty</span></a></span><span> </span><span class="annot"><span class="annottext">ModuleRenaming
</span><a href="#local-6989586621679649113"><span class="hs-identifier hs-var">prov_rn</span></a></span><span>
</span><span id="line-49"></span><span>          </span><span class="annot"><span class="annottext">Doc -&gt; Doc -&gt; Doc
</span><a href="../../pretty/src/Text.PrettyPrint.HughesPJ.html#%3C%2B%3E"><span class="hs-operator hs-var">&lt;+&gt;</span></a></span><span> </span><span class="hs-special">(</span><span class="hs-keyword">if</span><span> </span><span class="annot"><span class="annottext">ModuleRenaming -&gt; Bool
</span><a href="Distribution.Types.ModuleRenaming.html#isDefaultRenaming"><span class="hs-identifier hs-var">isDefaultRenaming</span></a></span><span> </span><span class="annot"><span class="annottext">ModuleRenaming
</span><a href="#local-6989586621679649112"><span class="hs-identifier hs-var">req_rn</span></a></span><span>
</span><span id="line-50"></span><span>                </span><span class="hs-keyword">then</span><span> </span><span class="annot"><span class="annottext">Doc
</span><a href="../../pretty/src/Text.PrettyPrint.HughesPJ.html#empty"><span class="hs-identifier hs-var">Disp.empty</span></a></span><span>
</span><span id="line-51"></span><span>                </span><span class="hs-keyword">else</span><span> </span><span class="annot"><span class="annottext">String -&gt; Doc
</span><a href="../../pretty/src/Text.PrettyPrint.HughesPJ.html#text"><span class="hs-identifier hs-var">text</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;requires&quot;</span></span><span> </span><span class="annot"><span class="annottext">Doc -&gt; Doc -&gt; Doc
</span><a href="../../pretty/src/Text.PrettyPrint.HughesPJ.html#%3C%2B%3E"><span class="hs-operator hs-var">&lt;+&gt;</span></a></span><span> </span><span class="annot"><span class="annottext">ModuleRenaming -&gt; Doc
forall a. Pretty a =&gt; a -&gt; Doc
</span><a href="Distribution.Pretty.html#pretty"><span class="hs-identifier hs-var">pretty</span></a></span><span> </span><span class="annot"><span class="annottext">ModuleRenaming
</span><a href="#local-6989586621679649112"><span class="hs-identifier hs-var">req_rn</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-52"></span><span>
</span><span id="line-53"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="Distribution.Parsec.html#Parsec"><span class="hs-identifier hs-type">Parsec</span></a></span><span> </span><span class="annot"><a href="Distribution.Types.IncludeRenaming.html#IncludeRenaming"><span class="hs-identifier hs-type">IncludeRenaming</span></a></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-54"></span><span>    </span><span id="local-6989586621679649079"><span class="annot"><span class="annottext">parsec :: forall (m :: * -&gt; *). CabalParsing m =&gt; m IncludeRenaming
</span><a href="Distribution.Parsec.html#parsec"><span class="hs-identifier hs-var hs-var hs-var hs-var">parsec</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-keyword">do</span><span>
</span><span id="line-55"></span><span>        </span><span id="local-6989586621679649077"><span class="annot"><span class="annottext">ModuleRenaming
</span><a href="#local-6989586621679649077"><span class="hs-identifier hs-var">prov_rn</span></a></span></span><span> </span><span class="hs-glyph">&lt;-</span><span> </span><span class="annot"><span class="annottext">m ModuleRenaming
forall a (m :: * -&gt; *). (Parsec a, CabalParsing m) =&gt; m a
</span><a href="Distribution.Parsec.html#parsec"><span class="hs-identifier hs-var">parsec</span></a></span><span>
</span><span id="line-56"></span><span>        </span><span id="local-6989586621679649076"><span class="annot"><span class="annottext">ModuleRenaming
</span><a href="#local-6989586621679649076"><span class="hs-identifier hs-var">req_rn</span></a></span></span><span> </span><span class="hs-glyph">&lt;-</span><span> </span><span class="annot"><span class="annottext">ModuleRenaming -&gt; m ModuleRenaming -&gt; m ModuleRenaming
forall (m :: * -&gt; *) a. Alternative m =&gt; a -&gt; m a -&gt; m a
</span><a href="Distribution.Compat.Parsing.html#option"><span class="hs-identifier hs-var">P.option</span></a></span><span> </span><span class="annot"><span class="annottext">ModuleRenaming
</span><a href="Distribution.Types.ModuleRenaming.html#defaultRenaming"><span class="hs-identifier hs-var">defaultRenaming</span></a></span><span> </span><span class="annot"><span class="annottext">(m ModuleRenaming -&gt; m ModuleRenaming)
-&gt; m ModuleRenaming -&gt; m ModuleRenaming
forall a b. (a -&gt; b) -&gt; a -&gt; b
</span><a href="../../base/src/GHC.Base.html#%24"><span class="hs-operator hs-var">$</span></a></span><span> </span><span class="annot"><span class="annottext">m ModuleRenaming -&gt; m ModuleRenaming
forall (m :: * -&gt; *) a. Parsing m =&gt; m a -&gt; m a
</span><a href="Distribution.Compat.Parsing.html#try"><span class="hs-identifier hs-var">P.try</span></a></span><span> </span><span class="annot"><span class="annottext">(m ModuleRenaming -&gt; m ModuleRenaming)
-&gt; m ModuleRenaming -&gt; m ModuleRenaming
forall a b. (a -&gt; b) -&gt; a -&gt; b
</span><a href="../../base/src/GHC.Base.html#%24"><span class="hs-operator hs-var">$</span></a></span><span> </span><span class="hs-keyword">do</span><span>
</span><span id="line-57"></span><span>            </span><span class="annot"><span class="annottext">m ()
forall (m :: * -&gt; *). CharParsing m =&gt; m ()
</span><a href="Distribution.Compat.CharParsing.html#spaces"><span class="hs-identifier hs-var">P.spaces</span></a></span><span> </span><span class="hs-comment">-- no need to be space</span><span>
</span><span id="line-58"></span><span>            </span><span class="annot"><span class="annottext">String
</span><span class="hs-identifier">_</span></span><span> </span><span class="hs-glyph">&lt;-</span><span> </span><span class="annot"><span class="annottext">String -&gt; m String
forall (m :: * -&gt; *). CharParsing m =&gt; String -&gt; m String
</span><a href="Distribution.Compat.CharParsing.html#string"><span class="hs-identifier hs-var">P.string</span></a></span><span> </span><span class="annot"><span class="annottext">String
</span><span class="hs-string">&quot;requires&quot;</span></span><span>
</span><span id="line-59"></span><span>            </span><span class="annot"><span class="annottext">m ()
forall (m :: * -&gt; *). CharParsing m =&gt; m ()
</span><a href="Distribution.Compat.CharParsing.html#spaces"><span class="hs-identifier hs-var">P.spaces</span></a></span><span>
</span><span id="line-60"></span><span>            </span><span class="annot"><span class="annottext">m ModuleRenaming
forall a (m :: * -&gt; *). (Parsec a, CabalParsing m) =&gt; m a
</span><a href="Distribution.Parsec.html#parsec"><span class="hs-identifier hs-var">parsec</span></a></span><span>
</span><span id="line-61"></span><span>        </span><span class="hs-comment">-- Requirements don't really care if they're mentioned</span><span>
</span><span id="line-62"></span><span>        </span><span class="hs-comment">-- or not (since you can't thin a requirement.)  But</span><span>
</span><span id="line-63"></span><span>        </span><span class="hs-comment">-- we have a little hack in Configure to combine</span><span>
</span><span id="line-64"></span><span>        </span><span class="hs-comment">-- the provisions and requirements together before passing</span><span>
</span><span id="line-65"></span><span>        </span><span class="hs-comment">-- them to GHC, and so the most neutral choice for a requirement</span><span>
</span><span id="line-66"></span><span>        </span><span class="hs-comment">-- is for the &quot;with&quot; field to be False, so we correctly</span><span>
</span><span id="line-67"></span><span>        </span><span class="hs-comment">-- thin provisions.</span><span>
</span><span id="line-68"></span><span>        </span><span class="annot"><span class="annottext">IncludeRenaming -&gt; m IncludeRenaming
forall (m :: * -&gt; *) a. Monad m =&gt; a -&gt; m a
</span><a href="../../base/src/GHC.Base.html#return"><span class="hs-identifier hs-var">return</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">ModuleRenaming -&gt; ModuleRenaming -&gt; IncludeRenaming
</span><a href="Distribution.Types.IncludeRenaming.html#IncludeRenaming"><span class="hs-identifier hs-var">IncludeRenaming</span></a></span><span> </span><span class="annot"><span class="annottext">ModuleRenaming
</span><a href="#local-6989586621679649077"><span class="hs-identifier hs-var">prov_rn</span></a></span><span> </span><span class="annot"><span class="annottext">ModuleRenaming
</span><a href="#local-6989586621679649076"><span class="hs-identifier hs-var">req_rn</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-69"></span></pre></body></html>